package com.xsf.jieyou.cloud.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 短信返回模型。
 * <p>
 * {
 * "Message": "OK",
 * "RequestId": "873043ac-bcda-44db-9052-2e204c6ed20f",
 * "BizId": "607300000000000000^0",
 * "Code": "OK"
 * }
 * <p>
 * {
 * "Message": "模板不合法(不存在或被拉黑)",
 * "RequestId": "ea17e552-43ad-4d6d-aef8-26f04ebc3b3d",
 * "Code": "isv.SMS_TEMPLATE_ILLEGAL"
 * }
 *
 * @author xsf
 * @version v1.0.0
 * @date 2019/11/19 0019 22:17
 * @see com.xsf.jieyou.cloud.dto
 **/
@Data
public class SmsParam implements Serializable {
    /**
     * 错误信息
     */
    @JsonProperty("Message")
    private String message;
    @JsonProperty("RequestId")
    private String requestId;
    @JsonProperty("BizId")
    private String bizId;
    /**
     * 错误码
     */
    @JsonProperty("Code")
    private String code;
}
